package com.nb.nbbase2.service;

import com.nb.nbbase2.entity.NsUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nb.nbbase2.model.dto.LoginDTO;
import com.nb.nbbase2.model.dto.RegistryDTO;
import com.nb.nbbase2.model.vo.ProvinceCntVO;
import com.nb.nbbase2.model.vo.UserInfoVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者
 * @since 2024-10-02
 */
public interface INsUserService extends IService<NsUser> {

    List<ProvinceCntVO> countByProvince();


    UserInfoVO login(LoginDTO loginDTO);

    void registry(RegistryDTO registryDTO);

    boolean checkQqExist(String qq);

    NsUser getByQQ(String userId);
}
